package mail;

public class User {
	private long id;
	private String username;
	private String nick;
	private String password;
	private boolean locked;
	private boolean administrator;
	private String securityQuestion;
	private String securityAnswer;
	private String securityEmail;
	
	
	public User() {
		super();
	}
	public User(String username, String nick, String password,
			boolean locked, boolean administrator, String securityQuestion,
			String securityAnswer, String securityEmail) {
		super();		
		this.username = username;
		this.nick = nick;
		this.password = password;
		this.locked = locked;
		this.administrator = administrator;
		this.securityQuestion = securityQuestion;
		this.securityAnswer = securityAnswer;
		this.securityEmail = securityEmail;
	}
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getNick() {
		return nick;
	}
	public void setNick(String nick) {
		this.nick = nick;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	
	
	public boolean isLocked() {
		return locked;
	}
	public void setLocked(boolean locked) {
		this.locked = locked;
	}
	public boolean isAdministrator() {
		return administrator;
	}
	public void setAdministrator(boolean administrator) {
		this.administrator = administrator;
	}
	public String getSecurityQuestion() {
		return securityQuestion;
	}
	public void setSecurityQuestion(String securityQuestion) {
		this.securityQuestion = securityQuestion;
	}
	public String getSecurityAnswer() {
		return securityAnswer;
	}
	public void setSecurityAnswer(String securityAnswer) {
		this.securityAnswer = securityAnswer;
	}
	public String getSecurityEmail() {
		return securityEmail;
	}
	public void setSecurityEmail(String securityEmail) {
		this.securityEmail = securityEmail;
	}
	
}
